Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use exportsOverride to rename target folders #138

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tporadowski
Copy link

I needed to be able to easily customize target folder names in my project to follow convention that uses version numbers in folder names, so that i.e. "jquery": "~2.1.1" (from bower.json) gets installed to "js/jquery-2.1.1" (and not as now to "js/jquery"). This change extends exportsOverride configuration option with packageName naming convention which is run through Handlebars with package's metadata (so one can install to i.e. "js/jquery-2.1.1" based on metadata of Bower packages). I also added dependencies to Q and Handlebars to make it work. You can find more details in updated Readme file.

- exportOverride can now use an extended definition that has
"packageName" naming convention which is run through Handlebars with
package's metadata (so one can install to i.e. "js/jquery-2.1.1" based
on metadata of Bower packages)
- added dependencies to Q and Handlebars
- added unit tests for new functionality, fixed JSHint warnings
- "component.json" files were not added in previous commit due to
.gitignore
@JoseInTheArena
Copy link

@yatskevich Is this gonna be merged anytime soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants